import request from '@/utils/request'

export function getcouponlist (params) {
  return request({
    url: '/admin/get_coupon_list',
    method: 'get',
    params: params
  })
}
export function doaddcoupon (params) {
  return request({
    url: '/admin/add_coupon_data',
    method: 'post',
    params: params
  })
}
export function dodelcoupon (params) {
  return request({
    url: '/admin/del_coupon_data',
    method: 'get',
    params: params
  })
}
